#import <Cocoa/Cocoa.h>

@class MainWindowController;

@interface Raisins_AppDelegate : NSObject <NSApplicationDelegate>
{
    MainWindowController *mainWindowController_;
    NSMenuItem *mainWindowMenuItem_;
    
    NSPersistentStoreCoordinator *persistentStoreCoordinator;
    NSManagedObjectModel *managedObjectModel;
    NSManagedObjectContext *managedObjectContext;
}

@property (retain) MainWindowController *mainWindowController;
@property (nonatomic, assign) IBOutlet NSMenuItem *mainWindowMenuItem;

- (NSPersistentStoreCoordinator *)persistentStoreCoordinator;
- (NSManagedObjectModel *)managedObjectModel;
- (NSManagedObjectContext *)managedObjectContext;

- (IBAction)saveAction:sender;
-(IBAction)showMainWindow:(id)sender;

@end
